Daniel Drake [Mon, 23 Feb 2015 20:49:08 +0000 (14:49 -0600)]
icontheme: allow directories with mtime 0
In order to provide a constant mtime between OS build and deploy time,
while also maintaining a hardlink content-addressed model independent of
timestamps, ostree sets all mtimes to 0.
The icon cache code currently ignores directories with mtime 0, assuming
they don't exist.
Track directory existence in a more precise way.
https://bugzilla.gnome.org/show_bug.cgi?id=745052
Bastian Ilsø [Thu, 19 Feb 2015 15:07:09 +0000 (16:07 +0100)]
getting-started: move Drawing section to bottom.
Daniel Mustieles [Mon, 23 Feb 2015 18:15:08 +0000 (19:15 +0100)]
Updated Spanish translation
Cosimo Cecchi [Mon, 23 Feb 2015 01:53:18 +0000 (17:53 -0800)]
icontheme: use desired size instead of negative for DIR_UNTHEMED SVGs
When loading SVGs from ICON_THEME_DIR_UNTHEMED GtkIconInfos,
such as those created for a GLoadableIcon, the size of the pixbuf to
load is set as a product of icon_info->scale.
But a few lines above, icon_info->scale is set to -1 for
ICON_THEME_DIR_UNTHEMED GtkIconInfos, so we'll end up always passing a
negative size to the GdkPixbuf loader, which is interpreted as the
nominal size of the image file.
Instead load the SVG at the desired scaled size in that case.
This fixes blurry icon in the notification panel in gnome-shell.
https://bugzilla.gnome.org/show_bug.cgi?id=744991
Cosimo Cecchi [Mon, 23 Feb 2015 01:49:55 +0000 (17:49 -0800)]
icontheme: fill correct information when loading GResource-backed GIcons
When loading a GResource-backed GFileIcon into a GtkIconInfo we
currently fail to populate the is_resource private field.
Also, since is_svg is set by looking at the filename, and
g_file_get_path() returns NULL for a GResourceFile, is_svg was always
FALSE.
https://bugzilla.gnome.org/show_bug.cgi?id=744991
Piotr Drąg [Mon, 23 Feb 2015 16:41:30 +0000 (17:41 +0100)]
Updated POTFILES.in
Bastian Ilsø [Thu, 19 Feb 2015 14:53:35 +0000 (15:53 +0100)]
Getting-started: port drawing.c to GtkApplication
Matthias Clasen [Mon, 23 Feb 2015 01:02:02 +0000 (20:02 -0500)]
range: Make steppers use smooth autoscrolling
This makes them work much nicer than the old timer-based
implementation.
Matthias Clasen [Sun, 22 Feb 2015 22:57:23 +0000 (17:57 -0500)]
range: Make zoom scrolling less sensitive
Use the new long press delay factor to make the zoom
scrolling less easy to trigger accidentally.
Matthias Clasen [Sun, 22 Feb 2015 22:48:39 +0000 (17:48 -0500)]
long press: Add a delay-factor property
Add a way to set a delay factor that can be used
to make the long press more or less sensitive.
Making this a factor instead of exposing the delay
itself preserves the value of the setting as an
overall 'slow down long press' setting.
Matthias Clasen [Mon, 23 Feb 2015 12:28:40 +0000 (07:28 -0500)]
zoom scrolling: Improve the previous fix
As Sebastian pointed out, just resetting the initial slider
position was an incomplete fix, because it does not cause the
delta to be recomputed, which is important in this scenario,
because you've likely travelled some distance over the slider
before the long press kicks in.
Instead, explicitly record both the slider position and the
delta.
Matthias Clasen [Mon, 23 Feb 2015 11:42:17 +0000 (06:42 -0500)]
zoom scrolling: avoid 'jumping back'
We record the starting position on button press, but only
start the zoom mode when the long press timeout kicks in.
Depending on circumstances, this can cause a noticable jump.
Avoid this by resetting the recorded starting position after
the long press timeout. Suggested by Sebastian Keller.
Chao-Hsiung Liao [Mon, 23 Feb 2015 07:32:08 +0000 (07:32 +0000)]
Updated Chinese (Taiwan) translation
Chao-Hsiung Liao [Mon, 23 Feb 2015 07:30:34 +0000 (07:30 +0000)]
Updated Chinese (Taiwan) translation
Matthias Clasen [Sun, 22 Feb 2015 22:01:27 +0000 (17:01 -0500)]
Silence a compiler warning
Balázs Úr [Sun, 22 Feb 2015 21:19:26 +0000 (21:19 +0000)]
Updated Hungarian translation
Matthias Clasen [Sun, 22 Feb 2015 19:42:26 +0000 (14:42 -0500)]
icon browser: Set up dnd from the detail popup
Allow dragging the various icon sizes as images.
Matthias Clasen [Sun, 22 Feb 2015 17:30:49 +0000 (12:30 -0500)]
icon browser: Add some dnd support
Use a custom tree model and enable dragging from the icon view.
Currently, we just support dropping the icon name as text.
Matthias Clasen [Sun, 22 Feb 2015 16:12:40 +0000 (11:12 -0500)]
icon browser: Activate on single-click
We want to get away from double-clicks everywhere.
Matthias Clasen [Sun, 22 Feb 2015 16:11:09 +0000 (11:11 -0500)]
icon browser: stop selecting
We don't need the selection here.
Thibault Saunier [Sun, 22 Feb 2015 12:01:17 +0000 (13:01 +0100)]
gdk/quartz: Fix mixup in attributes usage creating window implementation
First, attributes can be NULL (which is always the case when calling
gdk_window_ensure_native) so do not unconditionally dereference it.
Then the window_type should be taken directly from the GdkWindow as
in other backends (such as the X11 one for example).
https://bugzilla.gnome.org/show_bug.cgi?id=744942
Dušan Kazik [Sat, 21 Feb 2015 16:13:03 +0000 (16:13 +0000)]
Updated Slovak translation
Ignacio Casal Quinteiro [Sat, 21 Feb 2015 14:59:28 +0000 (15:59 +0100)]
statusicon: missed setting one uID
Arnav Singh [Sat, 21 Feb 2015 14:04:18 +0000 (15:04 +0100)]
statusicon: fix crash storing pointer in UINT
https://bugzilla.gnome.org/show_bug.cgi?id=696505
Chao-Hsiung Liao [Sat, 21 Feb 2015 11:06:35 +0000 (11:06 +0000)]
Updated Chinese (Taiwan) translation
Chao-Hsiung Liao [Sat, 21 Feb 2015 11:06:14 +0000 (11:06 +0000)]
Updated Chinese (Taiwan) translation
Efstathios Iosifidis [Fri, 20 Feb 2015 21:18:20 +0000 (21:18 +0000)]
Updated Greek translation
Matthias Clasen [Fri, 20 Feb 2015 02:34:46 +0000 (21:34 -0500)]
3.15.8
Carlos Garnacho [Fri, 20 Feb 2015 12:33:09 +0000 (13:33 +0100)]
menubutton: Fix possible button/popover state inconsistences
While a popover is hiding, the modal grab is already gone and the toggle
button is clickable again, but clicking again at that time will result in
gtk_widget_show() trying to show an already shown widget (although fading
out and hidden soon) and the toggle button activated.
So let the menubutton set the active status only if the menu/popover
widget wasn't already shown, and ensure this doesn't get triggered by
double/triple button press events.
Carlos Garnacho [Fri, 20 Feb 2015 11:46:52 +0000 (12:46 +0100)]
inspector: Destroy popovers on unmap
As an implementation detail, the popover hooks the fade out animation
on ::hide. Destroying the popover right away here is not a problem, but
prevents the animation from actually running. ::unmap will be run after
the animation is finished, so destroy the popover there.
Carlos Garnacho [Fri, 9 Jan 2015 15:10:29 +0000 (16:10 +0100)]
popover: Add show/hide transitions
These have the same visual effect and timing than the gnome-shell ones.
During the hide animation, the popover has been made to take focus
elsewhere, and refuse to take any pointer/keyboard input until the popover
is shown again.
This has been based on work from Timm Bäder.
https://bugzilla.gnome.org/show_bug.cgi?id=741405
Matthias Clasen [Fri, 20 Feb 2015 13:24:47 +0000 (08:24 -0500)]
scrolled window: Avoid a crash
gtk_scrolled_window_allocate_scrollbar was calling
gtk_scrolled_window_allocate_child just to get the relative
allocation, overlooking the fact that that function is only
safe to call if the scrolled window _has_ a child. Unfortunately,
gtk_scrolled_window_allocate_scrollbar will sometimes get called
when that is not the case. Since we are really only interested
in the relative allocation, just get that directly. This
fixes a segfault in the style-properties-nth-child reftest.
Matthias Clasen [Fri, 20 Feb 2015 13:23:53 +0000 (08:23 -0500)]
scrolled window: Drop dead code
The allocation is never used in this function, so don't bother
getting it.
Marek Kasik [Fri, 20 Feb 2015 11:22:26 +0000 (12:22 +0100)]
printing: Use correct units for margins taken via IPP
cups_printer_get_hard_margins() returned margins in millimeters
for margins taken via IPP request instead of Units used before.
Carlos Garnacho [Thu, 19 Feb 2015 15:44:18 +0000 (16:44 +0100)]
dnd: Set the parent DnD wayland surface on gtk_drag_set_icon_window()
This is a better place to call this, both lets us remove all other calls,
and additionally handles the gtk_drag_set_icon_widget() entry point.
Ignacio Casal Quinteiro [Thu, 19 Feb 2015 13:44:34 +0000 (14:44 +0100)]
Do not return on void functions
Ignacio Casal Quinteiro [Thu, 19 Feb 2015 13:44:56 +0000 (14:44 +0100)]
pathbar: use the same parameter as in the declaration
Philip Withnall [Wed, 18 Feb 2015 11:33:36 +0000 (11:33 +0000)]
docs: Add extra symbol links to input handling documentation
Cross-reference to the API documentation more consistently.
https://bugzilla.gnome.org/show_bug.cgi?id=744054
Philip Withnall [Wed, 18 Feb 2015 11:13:28 +0000 (11:13 +0000)]
docs: Expand input handling documentation to cover event masks
Also try and clarify a few things about event propagation. Move
input-handling.xml into gtk-doc’s expand_content_files variable so it
automatically links to widget documentation. Add links from
gtk_widget_add_events() and friends to the new documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=744054
Philip Withnall [Tue, 17 Feb 2015 14:37:28 +0000 (14:37 +0000)]
docs: Mention events in the input handling documentation title
Make it a little easier to find these docs when searching for ‘event’.
https://bugzilla.gnome.org/show_bug.cgi?id=744054
Philip Withnall [Tue, 17 Feb 2015 16:57:57 +0000 (16:57 +0000)]
gtk: Remove documentation references to the GTK_NO_WINDOW flag
It has been removed entirely, and replaced by
gtk_widget_get_has_window().
https://bugzilla.gnome.org/show_bug.cgi?id=744054
Fran Dieguez [Thu, 19 Feb 2015 08:56:49 +0000 (09:56 +0100)]
Updated Galician translations
Matthias Clasen [Wed, 18 Feb 2015 22:26:20 +0000 (17:26 -0500)]
color scale: simplify code a bit
It is not necessary to call gtk_widget_get_accessible repeatedly.
Matthias Clasen [Wed, 18 Feb 2015 22:25:05 +0000 (17:25 -0500)]
Explicitly set the a11y role of tooltip windows
This seems better than trying to identify the 'tooltipness'
of the window on the other side.
https://bugzilla.gnome.org/show_bug.cgi?id=744683
Matthias Clasen [Wed, 18 Feb 2015 22:24:29 +0000 (17:24 -0500)]
Drop nonworking code to set a11y roles of tooltips
This code relied on widget names, and we don't set those anymore.
Matthias Clasen [Wed, 18 Feb 2015 00:25:22 +0000 (19:25 -0500)]
widget factory: Don't make file chooser local-only
There's no reason to.
Balázs Úr [Wed, 18 Feb 2015 22:20:45 +0000 (22:20 +0000)]
Updated Hungarian translation
Ting-Wei Lan [Wed, 18 Feb 2015 16:16:15 +0000 (00:16 +0800)]
build: Don't use shopt in the build command
shopt command only works in bash, so we should not use it in gtk/Makefile.am.
https://bugzilla.gnome.org/show_bug.cgi?id=743647
Philip Withnall [Wed, 18 Feb 2015 10:57:05 +0000 (10:57 +0000)]
gtk: Fix various tiny typos in documentation comments
e.g. Invalid syntax in introspection annotations, typos in object names,
accidentally using a gtk-doc comment for an internal function.
Philip Withnall [Wed, 18 Feb 2015 10:55:58 +0000 (10:55 +0000)]
docs: Remove non-existent symbols from gtk3-sections.txt
Eliminate a couple of gtk-doc warnings.
Philip Withnall [Wed, 18 Feb 2015 10:55:34 +0000 (10:55 +0000)]
docs: Ignore generated files when building documentation
Rico Tzschichholz [Wed, 18 Feb 2015 10:38:29 +0000 (11:38 +0100)]
AppChooserDialog: Fix memleak
Daniel Mustieles [Wed, 18 Feb 2015 09:55:57 +0000 (10:55 +0100)]
Updated Spanish translation
Milo Casagrande [Wed, 18 Feb 2015 08:14:48 +0000 (08:14 +0000)]
Updated Italian translation
Carlos Garnacho [Tue, 17 Feb 2015 18:45:50 +0000 (19:45 +0100)]
wayland: Use display from GdkDragContext device
It will be useless to check the source window on the destination side,
it's at the moment always NULL. Fetch the display from the device instead,
which will be set for every GdkDragContext.
Daniel Mustieles [Tue, 17 Feb 2015 17:36:57 +0000 (18:36 +0100)]
Updated Spanish translation
Daniel Mustieles [Tue, 17 Feb 2015 17:36:41 +0000 (18:36 +0100)]
Updated Spanish translation
Carlos Garnacho [Tue, 17 Feb 2015 15:21:42 +0000 (16:21 +0100)]
scrolledwindow: Ensure indicator windows are created at the right place
At the time of creating the indicator window, the scrollbar allocation is
poked and reused as the initial window dimensions. This usually happens
on two circumstances, either initially (so a ::size-allocate is emitted,
relocating the windows in the right places), or post-initialization when
calling set_overlay_scrolling() (so the scrollbars already have a valid
size allocation)
However, if the scrolledwindow is unrealized, and later re-realized again,
the scrollbars will already have a valid allocation, although 0,0 based
due to being contained in the previous indicator window. This comes out
wrong then, and the indicator window is given 0,0 based coordinates too.
Fix this by refactoring the scrollbar allocation code out of size_allocate,
and also use that given size at the time of creating the indicator windows,
this will provide the right widget-relative allocation anytime.
Carlos Garnacho [Tue, 17 Feb 2015 15:15:26 +0000 (16:15 +0100)]
scrolledwindow: Fully reset indicators' state on unrealize
This avoids timers to run after realize(), and inconsistent initial states
if the scrolledwindow is just realized again.
Matthias Clasen [Tue, 17 Feb 2015 14:30:56 +0000 (09:30 -0500)]
Avoid a crash in the inspector under wayland
The Wayland-specific popover code in GtkWindow was not doing the
right thing with the separate display connection we use for the
inspector.
Paolo Borelli [Tue, 17 Feb 2015 13:17:53 +0000 (14:17 +0100)]
Do not use "return" when chaining up to a void function
Milo Casagrande [Tue, 17 Feb 2015 13:43:52 +0000 (13:43 +0000)]
Updated Italian translation
Emmanuele Bassi [Tue, 17 Feb 2015 10:21:41 +0000 (10:21 +0000)]
glarea: Better error handling
Currently, GtkGLArea will leak GError instances set during the context
creation, if an error is set.
If any error is set post-context creation, it should be displayed even
in the case a GL context exists; for instance, we can use the error
display facility for shader compilation errors.
Benjamin Otte [Mon, 16 Feb 2015 15:58:17 +0000 (16:58 +0100)]
switch: Have a priv varibale in the constructor
Benjamin Otte [Mon, 16 Feb 2015 05:25:44 +0000 (06:25 +0100)]
switch: Change handle_x to handle_pos
Make that variable go from 0.0 to 1.0 where 0.0 means inactive (slider
is on the left) and 1.0 means active (slider is on the right).
The math is simpler that way and most importantly the value is
independent of size.
Benjamin Otte [Mon, 16 Feb 2015 04:22:00 +0000 (05:22 +0100)]
switch: Get rid of offset member variable
We can compute it on-demand whereever we need it.
Benjamin Otte [Mon, 16 Feb 2015 02:24:38 +0000 (03:24 +0100)]
switch: Remove unused variables from private struct
Benjamin Otte [Sun, 15 Feb 2015 04:37:19 +0000 (05:37 +0100)]
css: Implement animations for font-weight property
Benjamin Otte [Sun, 15 Feb 2015 04:02:33 +0000 (05:02 +0100)]
css: Implement "bolder" and "lighter" font weights
Yosef Or Boczko [Mon, 16 Feb 2015 20:22:57 +0000 (22:22 +0200)]
Updated Hebrew Property translation
Yosef Or Boczko [Mon, 16 Feb 2015 20:21:51 +0000 (22:21 +0200)]
Updated Hebrew translation
A S Alam [Mon, 16 Feb 2015 20:15:28 +0000 (14:15 -0600)]
update Punjabi Translation
Matej Urbančič [Mon, 16 Feb 2015 19:54:10 +0000 (20:54 +0100)]
Updated Slovenian translation
Matej Urbančič [Mon, 16 Feb 2015 19:41:39 +0000 (20:41 +0100)]
Updated Slovenian translation
Kjartan Maraas [Mon, 16 Feb 2015 17:33:56 +0000 (18:33 +0100)]
Updated Norwegian bokmål translation.
Matthias Clasen [Mon, 16 Feb 2015 03:00:49 +0000 (22:00 -0500)]
Fix a misleading condition
gcc5 rightfully complains about this condition being unclear.
Matthias Clasen [Mon, 16 Feb 2015 00:55:54 +0000 (19:55 -0500)]
Improve two strings
Make two property blurbs better.
https://bugzilla.gnome.org/show_bug.cgi?id=744574
Matthias Clasen [Mon, 16 Feb 2015 00:49:37 +0000 (19:49 -0500)]
Updates
Bastian Ilsø [Sat, 14 Feb 2015 20:24:20 +0000 (21:24 +0100)]
Updated grid-packing to GtkApplication.
Matthias Clasen [Sun, 15 Feb 2015 18:03:29 +0000 (13:03 -0500)]
Add style classes to the title buttons
This will let themes treat close/min/max buttons differently,
if they so desire.
https://bugzilla.gnome.org/show_bug.cgi?id=744400
Balázs Úr [Sun, 15 Feb 2015 12:36:26 +0000 (12:36 +0000)]
Updated Hungarian translation
Balázs Úr [Sun, 15 Feb 2015 12:34:39 +0000 (12:34 +0000)]
Updated Hungarian translation
Emmanuele Bassi [Sun, 15 Feb 2015 11:23:30 +0000 (11:23 +0000)]
docs: Fix "shadres" → "shaders" typo
https://bugzilla.gnome.org/show_bug.cgi?id=744394
Christian Hergert [Sun, 15 Feb 2015 02:11:54 +0000 (18:11 -0800)]
stack: check for widget before calling is_ancestor()
We can hit this path during the destruction case, where widget has
been released.
This fixes a lot of superfluous error messages on console.
Jonas Ådahl [Fri, 13 Feb 2015 06:17:49 +0000 (14:17 +0800)]
wayland: Update to xdg-shell unstable v5
Only trivial changes needed.
https://bugzilla.gnome.org/show_bug.cgi?id=744455
Matej Urbančič [Sat, 14 Feb 2015 19:58:40 +0000 (20:58 +0100)]
Updated Slovenian translation
Muhammet Kara [Sat, 14 Feb 2015 17:08:13 +0000 (17:08 +0000)]
Updated Turkish translation
Matthias Clasen [Sat, 14 Feb 2015 05:57:29 +0000 (00:57 -0500)]
GtkSearchEngine: Add debug spew
This lets us find out which search engine implementation is
in use.
Matthias Clasen [Sat, 14 Feb 2015 05:48:26 +0000 (00:48 -0500)]
file chooser: Allow to limit search
Add a button to allow restricting search to the current
folder (and subdirectories). This makes the search more
useful, and makes the file chooser more similar to
nautilus.
Matthias Clasen [Sat, 14 Feb 2015 04:50:06 +0000 (23:50 -0500)]
file chooser: Add a location column for search
In search, we show files from differnt locations, and it makes
sense to show where they come from. This makes the file chooser
more similar to nautilus, too.
Matthias Clasen [Sat, 14 Feb 2015 01:43:06 +0000 (20:43 -0500)]
file chooser: Don't open folders unexpectedly
Folders that show up among search results were unexpectedly
returned even for GTK_FILE_CHOOSER_ACTION_OPEN. Change things
around so that we switch to the folder instead, which is the
behavior we had in GTK+ 2.x.
https://bugzilla.gnome.org/show_bug.cgi?id=744204
Jasper St. Pierre [Sat, 14 Feb 2015 02:21:42 +0000 (18:21 -0800)]
gtkwindow: Don't set the background if the window is app-paintable
This fixes transparent DND windows.
Pier Luigi Fiorini [Wed, 11 Feb 2015 06:46:00 +0000 (06:46 +0000)]
wayland: Do not require latest wl_seat
Some compositors might not offer wl_seat 4 resulting in GTK+ clients not
working on that compositor.
wl_seat 4 introduces keyboard repeat information, but when that information
is missing it is retrieved from settings, hence there's no reason to
require wl_seat 4.
This patch was tested against QtCompositor (5.5, dev branch)
and Weston 1.6.1.
Reviewed-by: Daniel Stone <daniels@collabora.com>
https://bugzilla.gnome.org/show_bug.cgi?id=744172
Lars Uebernickel [Thu, 12 Feb 2015 17:09:13 +0000 (18:09 +0100)]
Rename GtkSidebar to GtkStackSidebar
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
Matthias Clasen [Fri, 13 Feb 2015 13:50:04 +0000 (08:50 -0500)]
csd: Always raise on primary titlebar click
This matches more closely what typical window managers do.
Pointed out in
https://bugzilla.redhat.com/show_bug.cgi?id=
1158472
Matthias Clasen [Fri, 13 Feb 2015 13:49:23 +0000 (08:49 -0500)]
Forgotten file
Matthias Clasen [Thu, 12 Feb 2015 23:23:44 +0000 (18:23 -0500)]
Bump version
So apps can require 3.15.7 for new api.
Chun-wei Fan [Fri, 13 Feb 2015 10:36:34 +0000 (18:36 +0800)]
gdkglcontext-win32.c: Fix Build on C89 Compilers
Make sure variables are declared at the top of the block.
Matthias Clasen [Thu, 12 Feb 2015 22:33:10 +0000 (17:33 -0500)]
notebook: Add api to complete tab dnd from the outside
This is necessary to avoid unwanted drag cancel animations,
now that GtkNotebook is careful about cancelling a drag
when the dragged tab disappears unexpectedly.
Piotr Drąg [Thu, 12 Feb 2015 17:53:03 +0000 (18:53 +0100)]
Updated POTFILES.in